package com.xxgc.zde.api;

import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import com.xxgc.zde.api.response.WechatLoginResponse;

/**
* 微信登录接口api
* */
public interface WechatLoginApi {
    @Get("https://api.weixin.qq.com/sns/jscode2session")
    WechatLoginResponse getUserOpenId(
            @Query("appid") String appid,
            @Query("secret") String secret,
            @Query("js_code") String js_code,
            @Query("grant_type") String grant_type
    );
}
